package com.njtoyo.taxi.admin.mongo.repository.primary;

import com.njtoyo.taxi.admin.mongo.entity.primary.RealtimeCallExcludeTaxiMongo;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface RealtimeCallExcludeTaxiRepository  extends MongoRepository<RealtimeCallExcludeTaxiMongo, ObjectId> {
    List<RealtimeCallExcludeTaxiMongo> findByTaxiId(Long id);

    List<RealtimeCallExcludeTaxiMongo> findByCallId(Long callId);
}

